Skip to content

Crop detection, yield calculation updated#23

Open
Knowen wants to merge 2 commits into
BitBarn-Mods:mainfrom
Knowen:main
Open

Crop detection, yield calculation updated#23
Knowen wants to merge 2 commits into
BitBarn-Mods:mainfrom
Knowen:main

Conversation

@Knowen

@Knowen Knowen commented Jul 16, 2026

Copy link
Copy Markdown

changed how this mod detects all fruits which are registered in the map. this also includes custom crops. also detects the correct hud image.

also changed how the yield is calculated. it now tracks the amount of crop which goes through the pipe of a combine or forage harvester. If you unload the combine while it moves, this amount wasn't detected with the "old" detection method. Now every piece of yield gets detected.
grass and hay is still the same with bales.

Also tried to adjust the GUI so it is always centered but fucked it up. So this is something which needs to be "repaired".
All the GUI elements are far to the left and are not readable in the "old" version, if you play on an ultrawide like I do.

Signed-off-by: Knowen <47173160+Knowen@users.noreply.github.com>
changed how this mod detects all fruits which are registered in the map. this also includes custom crops. also detects the correct hud image. 

also changed how the yield is calculated. it now tracks the amount of crop which goes through the pipe of a combine or forage harvester. grass and hay is still the same with bales.

tried also to adjust the GUI so it is always centered. all the GUI elements are far to the left and are not readable if you play on an ultrawide like I do.

Signed-off-by: Knowen <47173160+Knowen@users.noreply.github.com>
@BitBarn-Mods BitBarn-Mods added the future update Update planned for the future label Jul 20, 2026
@BitBarn-Mods

Copy link
Copy Markdown
Owner

Awesome work @Knowen! I will start going through it all just so I can understand what is all happening here and get it pushed into the next update.

I believe I have a fix for the UI to be responsive but still in testing (I run 16:9, trying to test isn't impossible but less efficient on my end at higher res). If you wanted to test it to see if it works, there is a WIP XML file here, just swap it out with the current yieldTrackerPage.xml

https://github.com/BitBarn-Mods/FS25_YieldTracker/blob/main/src/WIP/yieldTrackerPage_wip.xml

@Knowen

Knowen commented Jul 21, 2026

Copy link
Copy Markdown
Author
image

Well, it looks like this with the new xml @BitBarn-Mods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

future update Update planned for the future

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants